package com.zhonghui.dolo.manager.dao;

import com.zhonghui.dolo.manager.model.Goods;
import com.zhonghui.dolo.manager.model.vo.GoodsReqVo;

import java.util.List;

public interface GoodsDao {
    List<Goods> queryGoodsList();

    List<Goods> queryGoodsListByGoodsName(String goodsName);

    List<Goods> queryGoodsListByParam(GoodsReqVo goodsReqVo);

    Goods getGoodsById(Integer goodsId, Boolean isIncludeDetail);

    int updateByGoodsId(Goods goods);

    int addGoods(Goods goods);
}
